package core;

import java.util.Set;

import core.domain.PeerDesciptor;
import core.domain.RegistrationStatus;
import core.domain.Torrent;

public interface ITorrentDAO {

	public RegistrationStatus reg(Torrent torrent, PeerDesciptor peerInfo);
	public Set<Torrent> getFiles();
	public Set<PeerDesciptor> getPeersForFile(Torrent torrent);
	public Set<PeerDesciptor> getAllPeers();
	public void reset();
	
}
